import React, { Component, PropTypes } from 'react';
import classNames from 'classnames';
import { Link, routerRedux } from 'dva/router';
import styles from './index.less';
import Maskin from '../Maskin/Maskin';
import toDemo from '~/assets/toDemo.png';
import textImg from '~/assets/text.png';

class Shade extends Component {
  constructor (props, context) {
    super(props, context)
    this.state = {
    }
  }
  // toDemoClick = () => {
  //   // this.props.hideShade();
  //   // this.context.router.push('/demo');
  //   window.location.href = "http://www.isux.us/demoo/project/20161216/1481903133xb0k3l/?time=1481999116437&_wv=131076";
  // }
  render() {
    return (
      <div className={classNames({[styles.container]: true, [styles.showContainer]: this.props.showShade})}>
         {/* <img src={textImg} className={styles.textImg} /> */}
         {/* <img src={toDemo} onClick={this.toDemoClick} className={styles.toDemo} /> */}
         <div>
          <p className={styles.activity1}>活 动 尚 未 开 始 </p>
          <p className={styles.activity2}>敬 请 期 待 </p>
          <p className={styles.activity3}>活动时间： 2017.01.01-01.31</p>
       </div>
      </div>
    );
  }
}

Shade.contextTypes = {
  router: PropTypes.object,
}

export default Shade;
